package com.movitech.mobile.cz.base.purchase.mapper.ext;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormCashDeposit;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormCashDeposit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 流程表单-供应商入围-保证金确认 Mapper 接口
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
@Component
@Mapper
public interface ExtWFlowFormCashDepositMapper extends BaseMapper<WFlowFormCashDeposit> {

	/**
	 * 确认保证金列表初始化查询
	 * @param param
	 * @return
	 */
	List<ExtWFlowFormCashDeposit> selectDepositConfirmBidCandidateUnitList(Map<String, Object> param);

	List<ExtWFlowFormCashDeposit> getByFormId(String formId);

	/**
	 * 确认保证金列表查询接口
	 * @param param
	 * @return
	 */
	List<ExtWFlowFormCashDeposit> selectDepositConfirmBidList(Map<String, Object> param);

	ExtWFlowFormCashDeposit getExtByFormIdAndSupplierId(@Param("formId")String formId, @Param("supplierId")String supplierId);


}
